package cn.kmsoft.stgeometry.constant;

public class DBConfig {
    private String jdbcDriver;
    private String driverClassName;
    private String dbInstance;
    private String dbTypeName;//oracle、postgresql
    private String dbUrl;

    public String getJdbcDriver() {
        return jdbcDriver;
    }
    public void setJdbcDriver(String jdbcDriver) {
        this.jdbcDriver = jdbcDriver;
    }

    public String getDriverClassName() {
        return driverClassName;
    }
    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }

    public String getDbInstance() {
        return dbInstance;
    }
    public void setDbInstance(String dbInstance) {
        this.dbInstance = dbInstance;
    }

    public String getDbTypeName() {
        return dbTypeName;
    }
    public void setDbTypeName(String dbTypeName) {
        this.dbTypeName = dbTypeName;
    }

    public String getDbUrl() {
        return dbUrl;
    }
    public void setDbUrl(String dbUrl) {
        this.dbUrl = dbUrl;
    }

    @Override
    public String toString() {
        return "DBConfig{" +
                "jdbcDriver='" + jdbcDriver + '\'' +
                ", driverClassName='" + driverClassName + '\'' +
                ", dbInstance='" + dbInstance + '\'' +
                ", dbTypeName='" + dbTypeName + '\'' +
                ", dbUrl='" + dbUrl + '\'' +
                '}';
    }
}
